package com.code.design.model.demo.factory.factorymethodpattern;

import com.code.design.model.demo.factory.simplefactorypattern.IMask;
import com.code.design.model.demo.factory.simplefactorypattern.LowEndMask;

/**
 * 低端口罩工厂
 *
 * @author tangyifei
 */
public class LowEndFactory implements IMaskFactory {

    @Override
    public IMask createMask() {
        IMask mask = new LowEndMask();
        // .....
        //  LowEndMask的100行初始化代码
        return mask;
    }
}
